Freescale Semiconductor /MK20D10 /FTM2 /SC

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as SC

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (000)PS0 (00)CLKS 0 (0)CPWMS 0 (0)TOIE 0 (0)TOF

TOF=0, TOIE=0, CLKS=00, PS=000, CPWMS=0

Description

Status And Control

Fields

PS

Prescale Factor Selection

0 (000): Divide by 1

1 (001): Divide by 2

2 (010): Divide by 4

3 (011): Divide by 8

4 (100): Divide by 16

5 (101): Divide by 32

6 (110): Divide by 64

7 (111): Divide by 128

CLKS

Clock Source Selection

0 (00): No clock selected. This in effect disables the FTM counter.

1 (01): System clock

2 (10): Fixed frequency clock

3 (11): External clock

CPWMS

Center-Aligned PWM Select

0 (0): FTM counter operates in Up Counting mode.

1 (1): FTM counter operates in Up-Down Counting mode.

TOIE

Timer Overflow Interrupt Enable

0 (0): Disable TOF interrupts. Use software polling.

1 (1): Enable TOF interrupts. An interrupt is generated when TOF equals one.

TOF

Timer Overflow Flag

0 (0): FTM counter has not overflowed.

1 (1): FTM counter has overflowed.

Links

() ()